.preview-container {
    max-width: 100%;
    margin: 0 auto;
    background: #f5f5f5;
}

.banner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-title {
    color: #e74c3c;
    font-size: 1.8em;
    margin: 15px auto;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: white;
    box-sizing: border-box;
}

.info-bar {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.info-bar .stats {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.info-bar .meta {
    color: #666;
}

.dot {
    margin: 0 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.image-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.time-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tip-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 预览弹窗样式 */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.preview-modal.active {
    display: block;
}

.preview-modal .swiper {
    width: 100%;
    height: 100%;
}

.preview-modal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal .swiper-slide img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 60px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}

/* 修改Swiper分页器样式 */
.preview-modal .swiper-pagination {
    top: 20px;
    bottom: auto;
    color: white;
    font-size: 14px;
    width: 100%;
    text-align: center;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 5px;
    }
    
    .banner-title {
        font-size: 0.9em;
        padding: 0 10px;
        margin: 10px auto;
    }
    
    .preview-modal .swiper-pagination {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .close-btn {
        top: 50px;
        right: 15px;
        font-size: 30px;
    }
} 

/* 添加加载状态样式 */
.loading-more {
    text-align: center;
    padding: 20px;
    color: #666;
    display: none;
}

.loading-more.active {
    display: block;
}

/* 添加滚动到底部提示 */
.end-message {
    text-align: center;
    padding: 20px;
    color: #999;
    display: none;
}

.end-message.active {
    display: block;
}

@media (max-width: 768px) {
    .loading-more,
    .end-message {
        padding: 15px;
        font-size: 14px;
    }
} 